<?php

namespace app\order\controller;

use app\common\controller\PCBase;
use app\common\library\Upload;
use app\order\logic\OrderRefundLogic;

use think\facade\Db;
use Throwable;

class Refund extends PCBase
{


    /**
     * 查看-列表
     * @throws Throwable
     */
    public function index()
    {
        $params = $this->request->post();
        return (new OrderRefundLogic())->getOrderRefundList($params);
    }


    /**
     * @desc  修改为已处理
     * @date  2024/4/09 processed
     * @author luckyXiong
     */
    public function processed()
    {
        $params = $this->request->post();
        return (new OrderRefundLogic())->processed($params);
    }


    /**
     * @desc    修改为未处理
     * @date    2024/4/09
     * @author  luckyXiong
     */
    public function unprocessed()
    {
        $params = $this->request->post();
        return (new OrderRefundLogic())->unprocessed($params);
    }



}
